@(stories: List[com.arsProfundis.model.RelevantStory])

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Relevant stories</title>
    <link type="text/css" href="/static/css/jquery-ui-1.7.3.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="/static/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-ui-1.7.3.custom.min.js"></script>
    <script type="text/javascript">
    $(function() {
        $("#accordion").accordion();
    });
    </script>
</head>
<body>
    <div id='accordion' style='width:500px'>
        @for(s <- stories) {
        <h3><a href='#'>@s.story.person.name&nbsp;(Rate:&nbsp;@s.rate)</a></h3>
        <div><p>@s.story.text</p></div>
        }
    </div>
</body>
</html>
